#!/bin/sh
unset GIT_DIR
NowPath=`pwd`
DeployPath="/home/wwwroot/default"
cd $DeployPath
git add . -A && git stash
git pull origin master
composer install --ignore-platform-reqs

cd $NowPath
echo "同步完成"
exit 0